import {createApp} from 'vue'
// import './style.css'
import App from './App.vue'

import ElementPlus from 'element-plus'
import '@/assets/reset.css'

import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'

import globeComponents from "@/components/globeComponents";
import Test2 from "@/components/globeComponents/Test2.vue"
import router from "@/router";
import pinia from "@/store";
import './permisstion'

const app = createApp(App)
//引入自定义插件并注册全局组件
app.use(globeComponents)
//注册全局组件
app.component('Test2',Test2)
app.use(router)
app.use(pinia)
//@ts-ignore
app.use(ElementPlus, {
    locale: zhCn,
})
app.mount('#app')
